package com.coin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import com.coin.service.HelloService;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

@SpringBootApplication
public class CoinApplication {
	public static void main(String[] args) {
		ConfigurableApplicationContext applicationContext=SpringApplication.run(CoinApplication.class, args);
		String[] ss = applicationContext.getBeanDefinitionNames();
		Arrays.asList(ss).stream().sorted().collect(Collectors.toList()).forEach(System.out::println);
	}
}
